home *** CD-ROM | disk | FTP | other *** search
- //
- // Module: mptup.slt
- // Version: 1.10
- // Description: MPT protocol upload script for Telix
- // Includes appropriate port, speed, and file names in the MPT
- // command-line.
- // Author: Brent Gleibs
- //
-
- //<f>
- main()
- {
- str CmdLine[128];
- str BaudStr[7];
- str PortStr[2];
-
- itos(get_baud(), BaudStr);
- itos(get_port(), PortStr);
-
- CmdLine = "P";
- strcat(CmdLine, PortStr);
-
- strcat(CmdLine, " S");
- strcat(CmdLine, BaudStr);
-
- strcat(CmdLine, " S ");
- strcat(CmdLine, _ext_filespec);
-
- run("mpt", CmdLine, 0);
-
- return;
- }
-
-